# near model CODE resource # jump table entries: 18152-18154 (3 of them) export_2269: 00000000 4E56 FFF8 link A6, -0x0008 00000004 48E7 0308 movem.l -[A7], D6,D7,A4 00000008 3E3C B1E0 move.w D7, 0xB1E0 0000000C 206E 0008 movea.l A0, [A6 + 0x8] 00000010 7000 moveq.l D0, 0x00 00000012 2080 move.l [A0], D0 00000014 7000 moveq.l D0, 0x00 00000016 2840 movea.l A4, D0 00000018 4267 clr.w -[A7] 0000001A A994 syscall CurResFile 0000001C 3C1F move.w D6, [A7]+ 0000001E 3F2E 000C move.w -[A7], [A6 + 0xC] 00000022 A998 syscall UseResFile 00000024 4267 clr.w -[A7] 00000026 A9AF syscall ResError 00000028 3E1F move.w D7, [A7]+ 0000002A 6702 beq +0x4 /* 0000002E */ 0000002C 6046 bra +0x48 /* 00000074 */ label0000002E: 0000002E 42A7 clr.l -[A7] 00000030 2F3C 5468 6D62 move.l -[A7], 0x54686D62 /* 'Thmb' */ 00000036 3F3C 0100 move.w -[A7], 0x100 0000003A A81F syscall Get1Resource 0000003C 285F movea.l A4, [A7]+ 0000003E 200C move.l D0, A4 00000040 6606 bne +0x8 /* 00000048 */ 00000042 3E3C B1E0 move.w D7, 0xB1E0 00000046 602C bra +0x2E /* 00000074 */ label00000048: 00000048 4267 clr.w -[A7] 0000004A A9AF syscall ResError 0000004C 3E1F move.w D7, [A7]+ 0000004E 6702 beq +0x4 /* 00000052 */ 00000050 6022 bra +0x24 /* 00000074 */ label00000052: 00000052 200C move.l D0, A4 00000054 6712 beq +0x14 /* 00000068 */ 00000056 2054 movea.l A0, [A4] 00000058 7001 moveq.l D0, 0x01 0000005A B050 cmp.w D0, [A0] 0000005C 670A beq +0xC /* 00000068 */ 0000005E 3E3C B1DD move.w D7, 0xB1DD 00000062 2F0C move.l -[A7], A4 00000064 A9A3 syscall ReleaseResource 00000066 600C bra +0xE /* 00000074 */ label00000068: 00000068 2F0C move.l -[A7], A4 0000006A A992 syscall DetachResource 0000006C 206E 0008 movea.l A0, [A6 + 0x8] 00000070 208C move.l [A0], A4 00000072 4247 clr.w D7 label00000074: 00000074 3F06 move.w -[A7], D6 00000076 A998 syscall UseResFile 00000078 3D47 000E move.w [A6 + 0xE], D7 0000007C 4CDF 10C0 movem.l D6,D7,A4, [A7]+ 00000080 4E5E unlink A6 00000082 205F movea.l A0, [A7]+ 00000084 5C4F addq.w A7, 6 00000086 4ED0 jmp [A0] 00000088 9052 sub.w D0, [A2] 0000008A 4541 chk.w D2, D1 0000008C 4454 neg.w [A4] 0000008E 484D pea.l A5 00000090 4252 clr.w [A2] 00000092 4553 chk.w D2, [A3] 00000094 4F55 chk.w D7, [A5] 00000096 5243 addq.w D3, 1 00000098 4500 .invalid 2, D0 // invalid opcode 4 with b == 4 0000009A 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_2270: // at 0000009C (misaligned) 0000009E FFFC .invalid <> 000000A0 48E7 0318 movem.l -[A7], D6,D7,A3,A4 000000A4 266E 000C movea.l A3, [A6 + 0xC] 000000A8 286E 0008 movea.l A4, [A6 + 0x8] 000000AC 4247 clr.w D7 000000AE 7000 moveq.l D0, 0x00 000000B0 2880 move.l [A4], D0 000000B2 4267 clr.w -[A7] 000000B4 A994 syscall CurResFile 000000B6 3C1F move.w D6, [A7]+ 000000B8 200B move.l D0, A3 000000BA 56C0 sne D0 000000BC 4A00 tst.b D0 000000BE 6746 beq +0x48 /* 00000106 */ 000000C0 2053 movea.l A0, [A3] 000000C2 4A68 0068 tst.w [A0 + 0x68] 000000C6 56C1 sne D1 000000C8 C001 and.b D0, D1 000000CA 673A beq +0x3C /* 00000106 */ 000000CC 3F2E 0010 move.w -[A7], [A6 + 0x10] 000000D0 A998 syscall UseResFile 000000D2 4267 clr.w -[A7] 000000D4 A9AF syscall ResError 000000D6 3E1F move.w D7, [A7]+ 000000D8 6702 beq +0x4 /* 000000DC */ 000000DA 602A bra +0x2C /* 00000106 */ label000000DC: 000000DC 42A7 clr.l -[A7] 000000DE 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */ 000000E4 2053 movea.l A0, [A3] 000000E6 3F28 0068 move.w -[A7], [A0 + 0x68] 000000EA A81F syscall Get1Resource 000000EC 289F move.l [A4], [A7]+ 000000EE 6606 bne +0x8 /* 000000F6 */ 000000F0 3E3C B1DF move.w D7, 0xB1DF 000000F4 6010 bra +0x12 /* 00000106 */ label000000F6: 000000F6 4267 clr.w -[A7] 000000F8 A9AF syscall ResError 000000FA 3E1F move.w D7, [A7]+ 000000FC 6702 beq +0x4 /* 00000100 */ 000000FE 6006 bra +0x8 /* 00000106 */ label00000100: 00000100 2F14 move.l -[A7], [A4] 00000102 A992 syscall DetachResource 00000104 4247 clr.w D7 label00000106: 00000106 3F06 move.w -[A7], D6 00000108 A998 syscall UseResFile 0000010A 3D47 0012 move.w [A6 + 0x12], D7 0000010E 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+ 00000112 4E5E unlink A6 00000114 205F movea.l A0, [A7]+ 00000116 DEFC 000A add.w A7, 0xA /* '\n' */ 0000011A 4ED0 jmp [A0] 0000011C 9452 sub.w D2, [A2] 0000011E 4541 chk.w D2, D1 00000120 444B neg.w A3 00000122 4559 chk.w D2, [A1]+ 00000124 574F subq.w A7, 3 00000126 5244 addq.w D4, 1 00000128 5346 subq.w D6, 1 0000012A 524F addq.w A7, 1 0000012C 4D54 chk.w D6, [A4] 0000012E 484D pea.l A5 00000130 4200 clr.b D0 00000132 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_2271: // at 00000134 (misaligned) 00000136 FFFC .invalid <> 00000138 48E7 0318 movem.l -[A7], D6,D7,A3,A4 0000013C 266E 000C movea.l A3, [A6 + 0xC] 00000140 286E 0008 movea.l A4, [A6 + 0x8] 00000144 4247 clr.w D7 00000146 7000 moveq.l D0, 0x00 00000148 2880 move.l [A4], D0 0000014A 4267 clr.w -[A7] 0000014C A994 syscall CurResFile 0000014E 3C1F move.w D6, [A7]+ 00000150 200B move.l D0, A3 00000152 56C0 sne D0 00000154 4A00 tst.b D0 00000156 6746 beq +0x48 /* 0000019E */ 00000158 2053 movea.l A0, [A3] 0000015A 4A68 006A tst.w [A0 + 0x6A] 0000015E 56C1 sne D1 00000160 C001 and.b D0, D1 00000162 673A beq +0x3C /* 0000019E */ 00000164 3F2E 0010 move.w -[A7], [A6 + 0x10] 00000168 A998 syscall UseResFile 0000016A 4267 clr.w -[A7] 0000016C A9AF syscall ResError 0000016E 3E1F move.w D7, [A7]+ 00000170 6702 beq +0x4 /* 00000174 */ 00000172 602A bra +0x2C /* 0000019E */ label00000174: 00000174 42A7 clr.l -[A7] 00000176 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */ 0000017C 2053 movea.l A0, [A3] 0000017E 3F28 006A move.w -[A7], [A0 + 0x6A] 00000182 A81F syscall Get1Resource 00000184 289F move.l [A4], [A7]+ 00000186 6606 bne +0x8 /* 0000018E */ 00000188 3E3C B1DE move.w D7, 0xB1DE 0000018C 6010 bra +0x12 /* 0000019E */ label0000018E: 0000018E 4267 clr.w -[A7] 00000190 A9AF syscall ResError 00000192 3E1F move.w D7, [A7]+ 00000194 6702 beq +0x4 /* 00000198 */ 00000196 6006 bra +0x8 /* 0000019E */ label00000198: 00000198 2F14 move.l -[A7], [A4] 0000019A A992 syscall DetachResource 0000019C 4247 clr.w D7 label0000019E: 0000019E 3F06 move.w -[A7], D6 000001A0 A998 syscall UseResFile 000001A2 3D47 0012 move.w [A6 + 0x12], D7 000001A6 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+ 000001AA 4E5E unlink A6 000001AC 205F movea.l A0, [A7]+ 000001AE DEFC 000A add.w A7, 0xA /* '\n' */ 000001B2 4ED0 jmp [A0] 000001B4 9752 sub.w [A2], D3 000001B6 4541 chk.w D2, D1 000001B8 4444 neg.w D4 000001BA 4553 chk.w D2, [A3] 000001BC 4352 chk.w D1, [A2] 000001BE 4950 chk.w D4, [A0] 000001C0 5449 addq.w A1, 2 000001C2 4F4E chk.w D7, A6 000001C4 4652 not.w [A2] 000001C6 4F4D chk.w D7, A5 000001C8 5448 addq.w A0, 2 000001CA 4D42 chk.w D6, D2 000001CC 0000 0000 ori.b D0, 0x0